package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.XiaoZhiTiaoTaoLunEntity;
import com.entity.view.XiaoZhiTiaoTaoLunView;
import com.entity.vo.XiaoZhiTiaoTaoLunVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 心理咨询师评论表
 *
 * @author
 * @email
 * @date 2021-01-19 21:46:13
 */
public interface XiaoZhiTiaoTaoLunDao extends BaseMapper<XiaoZhiTiaoTaoLunEntity> {

    List<XiaoZhiTiaoTaoLunVO> selectListVO(@Param("ew") Wrapper<XiaoZhiTiaoTaoLunEntity> wrapper);

    XiaoZhiTiaoTaoLunVO selectVO(@Param("ew") Wrapper<XiaoZhiTiaoTaoLunEntity> wrapper);

    List<XiaoZhiTiaoTaoLunView> selectListView(@Param("ew") Wrapper<XiaoZhiTiaoTaoLunEntity> wrapper);

    List<XiaoZhiTiaoTaoLunView> selectListView(Pagination page, @Param("ew") Wrapper<XiaoZhiTiaoTaoLunEntity> wrapper);

    XiaoZhiTiaoTaoLunView selectView(@Param("ew") Wrapper<XiaoZhiTiaoTaoLunEntity> wrapper);

}
